package xuanke;

import java.util.LinkedList;
import java.util.List;

public class Teacher {
	int Tdecision;
	List numbers = new LinkedList<>();
	String Tnum,Tname,Tsex,Tclasss;
	Teacher( String num,String name,String sex,String classs, int decision){
		Tnum = num;
		Tname = name;
		Tsex = sex;
		Tclasss = classs;
		Tdecision = decision;
	}
	public void printTeacher() {
		System.out.println(this.Tnum+" "+this.Tname+" "+this.Tsex+" "+this.Tclasss);
		numbers.add(Tnum);
		numbers.add(Tname);
		numbers.add(Tsex);
		numbers.add(Tclasss);
		numbers.add(Tdecision);
	}
}